package com.central.scheduler.master.runner.task;

import com.central.common.enums.TaskType;

/**
 * @author Tindy
 * @date 2021/12/20
 * @describe
 */
public class SwitchTaskProcessFactory implements ITaskProcessFactory {

    @Override
    public String type() {
        return TaskType.SWITCH.getDesc();
    }

    @Override
    public ITaskProcessor create() {
        return new SwitchTaskProcessor();
    }
}
